import java.util.Scanner;

public class Work81207 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int[] a = {7, 15, 25, 56, 78, 12, 2, 5, 6, 100};
        int i = 0;
        System.out.print(" ");
        for (i=0; i < 10; i++) {
            System.out.println(a[i]);
        }
        int max = a[0], b = 0;
        for (i = 1; i < 10; i++) {
            if (a[i] > max) {
                max = a[i];
                b = i;
            }
        }
        System.out.print("最大值是" + max + "第" + b+"位");
    }
}

